package com.run.guifeng.model.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @author sky
 */
@Data
@TableName("guifeng_mall_admin_user")
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class AdminUser extends BaseEntity {
   @TableId(value="id",type= IdType.AUTO)
    private Integer id;

   @TableField(value="user_name",exist=true)
    private String userName;

   @TableField(value="password_md5",exist=true)
    private String passwordMd;

    /**
     * Lock flag
     */
    @TableField(value = "is_locked", exist = true)
    private Boolean locked;
}
